package com.zjitc.module;

import java.util.List;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/21 14:59
 * @description:
 */
public class Page {

  private List<Country> countryList;
  private Integer pageid; //当前页
  private Integer begin; // 首页
  private Integer end; //尾页
  private Integer total; // 总页数

  public Page() {
  }

  public Page(List<Country> countryList, Integer page, Integer begin, Integer end,
      Integer total) {
    this.countryList = countryList;
    this.pageid = page;
    this.begin = begin;
    this.end = end;
    this.total = total;
  }

  public List<Country> getCountryList() {
    return countryList;
  }

  public void setCountryList(List<Country> countryList) {
    this.countryList = countryList;
  }

  public Integer getPageid() {
    return pageid;
  }

  public void setPageid(Integer pageid) {
    this.pageid = pageid;
  }

  public Integer getBegin() {
    return begin;
  }

  public void setBegin(Integer begin) {
    this.begin = begin;
  }

  public Integer getEnd() {
    return end;
  }

  public void setEnd(Integer end) {
    this.end = end;
  }

  public Integer getTotal() {
    return total;
  }

  public void setTotal(Integer total) {
    this.total = total;
  }

  @Override
  public String toString() {
    return "Page{" +
        "countryList=" + countryList +
        ", pageid=" + pageid +
        ", begin=" + begin +
        ", end=" + end +
        ", total=" + total +
        '}';
  }
}
